module.exports = function (app) {
    var express = require('express');
    var isLogged = require('./isLogged.js');
    var login = require('./login.js');
    var register1 = require('./register1.js');
    var register2 = require('./register2.js');
    app.use(express.static(__dirname));
    app.use(isLogged);
    app.use('/login', login);
    app.use('/register1', register1);
    app.use('/register2', register2);
    app.use('/findPassword', require('./findPassword.js'));

};
